package com.demo;

import org.ns.framework.datasource.anns.EnableDBDataSource;
import org.ns.framework.webmvc.anns.EnableBasicWeb;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

import com.alibaba.cloud.nacos.NacosConfigBootstrapConfiguration;

@SpringBootApplication
@EnableBasicWeb
@EnableDBDataSource
@EnableScheduling
public class App {
	
	
	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}
	
	@Configuration
	@EnableAutoConfiguration
	@ImportAutoConfiguration({  NacosConfigBootstrapConfiguration.class })
	public class Config {
		
	}

}
